package org.nw.web.index;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.nw.web.AbsBaseController;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.servlet.ModelAndView;


/**
 * 默认首页的操作类
 * 
 * @author xuqc
 * 
 */
@Controller
public class DefaultController extends AbsBaseController {

	/**
	 * 首页的默认打开页面
	 * 
	 * @param request
	 * @param response
	 * @return
	 */
	@RequestMapping(value = "/default.html")
	public ModelAndView defaultGo(HttpServletRequest request, HttpServletResponse response) {
		return new ModelAndView("/default/index.jsp");
	}
}
